2f8ef8fa731335a7f7ebf5bdc14684447a275c35,src/test/java/com/github/reinert/jjschema/v1/CircularReferenceComplexTest.java,CircularReferenceComplexTest,testGenerateSchema,#,49

Before Change


        JsonNode taskSchema = SchemaWrapperFactory.createWrapper(Task.class).asJson();
        System.out.println(WRITER.writeValueAsString(taskSchema));

        JsonNode personSchema = SchemaWrapperFactory.createWrapper(Person.class).asJson();
        System.out.println(WRITER.writeValueAsString(personSchema));

        JsonNode taskListSchema = SchemaWrapperFactory.createWrapper(TaskList.class).asJson();

After Change


        JsonNode taskSchema = schemaFactory.createSchema(Task.class);
        System.out.println(WRITER.writeValueAsString(taskSchema));

        JsonNode personSchema = schemaFactory.createSchema(Person.class);
        System.out.println(WRITER.writeValueAsString(personSchema));

        JsonNode taskListSchema = schemaFactory.createSchema(TaskList.class);